/*
 * Copyright 2023-2085 xujin <ceo@itgrail.com>
 *
 * Licensed under the Grail License, Version 1.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * https://itgrail.com/docs?id=3&catalogId=87
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.itgrail.pilot.app.command.cmo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author xujin
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("新增通用评论参数")
public class AddAllCommentCmd extends CommonCommand {

    private Integer id;

    @ApiModelProperty("评论分类 0为周期评论,1为objective评论")
    private Byte type;

    @ApiModelProperty("评论绑定的OKR")
    private Integer okrId;

    @ApiModelProperty("评论绑定的周期的id")
    private Integer periodId;

    @ApiModelProperty("当前OKR绑定的用户id")
    private Integer okrUserId;

    @ApiModelProperty("创建人姓名")
    private String createUserName;

    @ApiModelProperty("评论内容")
    private String content;

}



